<extend name="Template:main/content" />
<block name="page-content-wrapper-content">
<div id="content-header" style="margin-top: 0px; ">
	<div id="breadcrumb">
		<a href="#" title="Go to Home" class="tip-bottom"><i
			class="icon-home"></i>个人中心</a> <a href="#" class="current">推广链接</a>
	</div>
</div>

<div class="container-fluid">
	<hr>
	<div class="row-fluid">
		<div class="span12">
			<div class="widget-box">
				<div class="widget-title">
					<span class="icon"> <i class="icon-info-sign"></i>
					</span>
					<h5>推广链接</h5>
				</div>
				<div class="widget-content nopadding">
				

					<form class="form-horizontal" method="post"
						action="__CONTROLLER__/update" name="basic_validate"
						id="basic_validate" novalidate="novalidate">
						<div class="control-group">
							<label class="control-label">{$code}代理推广专用网址：</label>
							<div class="controls" style="padding-top: 15px; font-size: 14px;" >
							<textarea style="width: 500px;" rows="1" id="biao1">{$lj}</textarea>
							<input type="button" onClick="copyUrl2()" value="点击复制网址" />
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
 function copyUrl2()
{
  var Url2=document.getElementById("biao1");
 Url2.select(); // 选择对象
 document.execCommand("Copy"); // 执行浏览器复制命令
 alert("已复制好，可贴粘。");
 }
</script>
<script
	src="__PUBLIC__/matrix/matrix-admin/js/matrix.form_validation.js"
	type="text/javascript" charset="utf-8"></script> </block>